package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgDrawPrizeHelp;
import com.ygqh.baby.po.YgDrawPrizeHelpExample;

public interface YgDrawPrizeHelpMapper {
	int countByExample(YgDrawPrizeHelpExample example);

	int deleteByExample(YgDrawPrizeHelpExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgDrawPrizeHelp record);

	int insertSelective(YgDrawPrizeHelp record);

	List<YgDrawPrizeHelp> selectByExample(YgDrawPrizeHelpExample example);

	YgDrawPrizeHelp selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgDrawPrizeHelp record,
			@Param("example") YgDrawPrizeHelpExample example);

	int updateByExample(@Param("record") YgDrawPrizeHelp record, @Param("example") YgDrawPrizeHelpExample example);

	int updateByPrimaryKeySelective(YgDrawPrizeHelp record);

	int updateByPrimaryKey(YgDrawPrizeHelp record);

	int countSuper(@Param("q") String q);

	List<YgDrawPrizeHelp> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	List<YgDrawPrizeHelp> getWxHelpList(@Param("queryInfo") QueryInfo queryInfo,@Param("userId") Long userId, @Param("sourceCode") String sourceCode);

}
